﻿<%@ Page AutoEventWireup="true" CodeFile="ChartOfScore.aspx.cs" Inherits="Task_ChartOfScore"
    Language="C#" MasterPageFile="~/Task/Task.master" StylesheetTheme="Content" Title="Untitled Page" %>

<%@ Register Assembly="DundasWebChart" Namespace="Dundas.Charting.WebControl" TagPrefix="DCWC" %>
<asp:Content ID="Content1" runat="Server" ContentPlaceHolderID="ContentPlaceHolder1">
    <ajaxToolkit:CalendarExtender ID="CalendarExtender_StartDate" runat="server" TargetControlID="StartDate" Animated="false">
    </ajaxToolkit:CalendarExtender>
    <ajaxToolkit:CalendarExtender ID="CalendarExtender_EndDate" runat="server" TargetControlID="EndDate" Animated="false">
    </ajaxToolkit:CalendarExtender>
    <ul class="topmenu">
        <li>选择部门：<asp:DropDownList ID="FirstList" runat="server">
        </asp:DropDownList>
            <asp:TextBox ID="StartDate" runat="server" Width="90px"></asp:TextBox>
            至
            <asp:TextBox ID="EndDate" runat="server" Width="90px"></asp:TextBox></li>
        <li>
            <asp:LinkButton ID="ButtonSearch" runat="server" OnClick="ButtonSearch_Click" Text="查询" /></li>
        <li>
            <asp:DropDownList ID="ChartList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ChartList_SelectedIndexChanged">
                <asp:ListItem Value="1">柱状图</asp:ListItem>
                <asp:ListItem Value="2">雷达图</asp:ListItem>
            </asp:DropDownList>
        </li>
    </ul>
    <table border="0" cellpadding="0" cellspacing="0" class="dialog" width="100%">
        <caption>
            <span>任务得分分析</span></caption>
        <tr>
            <td>
                <div style="text-align: center; padding-top: 10px;">
                    <DCWC:Chart ID="UserChart" runat="server" BackGradientEndColor="White" BackGradientType="DiagonalLeft"
                        BorderLineColor="" BorderLineStyle="Solid" Height="400px" Palette="Dundas" Width="640px">
                        <Legends>
                            <DCWC:Legend Alignment="Far" BackColor="White" BorderColor="26, 59, 105" Docking="Top"
                                LegendStyle="Column" Name="Default" ShadowOffset="2">
                            </DCWC:Legend>
                        </Legends>
                        <Series>
                            <DCWC:Series ChartType="Column" CustomAttributes="RadarDrawingStyle=Area" Name="得分"
                                ShadowOffset="1" ShowLabelAsValue="True">
                            </DCWC:Series>
                        </Series>
                        <ChartAreas>
                            <DCWC:ChartArea BackColor="Transparent" BorderColor="" BorderStyle="Solid" Name="Default">
                                <AxisY LineColor="120, 0, 0, 0">
                                    <MinorGrid LineColor="Silver" />
                                    <MajorGrid LineColor="Silver" />
                                </AxisY>
                                <AxisX Interval="1" TitleAlignment="Far" TitleFont="宋体, 9pt">
                                    <MinorGrid LineColor="Silver" />
                                    <MajorGrid LineColor="Silver" />
                                </AxisX>
                            </DCWC:ChartArea>
                        </ChartAreas>
                        <Titles>
                            <DCWC:Title Name="Title" Text="">
                            </DCWC:Title>
                        </Titles>
                        <BorderSkin FrameBackColor="CornflowerBlue" FrameBackGradientEndColor="CornflowerBlue"
                            PageColor="AliceBlue" />
                    </DCWC:Chart>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
